package com.baizhi.dao;

import com.baizhi.entity.Guru;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 野马 on 2019/6/17.
 */
public interface GuruDao {
    //所有上师的展示信息   搜索
    public List<Guru> selectGuru(@Param("guruName")String guruName,@Param("start")int start,@Param("pageSize")int pageSize);

    //查询总条数
    public int countGuru(@Param("guruName")String guruName);

    //上师的添加
    public void insertGuru(Guru guru);

    //上师的冻结
    public void freezeGuru();

    //查询全部
    public List<Guru> selectList();


}
